package cn.kgc.crowdfundingadminspringboot.service;


import cn.kgc.crowdfundingadminspringboot.pojo.Admin;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 2020-02-19 22:04
 */
public interface AdminService {
    //根据Id查用户
    public Admin selectById(Integer id);

    //登录
    public Admin login(String loginAcct, String userPswd);

    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);
}
